.s-switch {
  display: inline-block;
  align-items: center;
  position: relative;
  font-size: 14px;
  line-height: 20px;
  vertical-align: middle;

  
  &-input{
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    margin: 0;
  }
  &-core {
    margin: 0;
    display: inline-block;
    position: relative;
    width: 40px;
    height: 20px;
    border: 1px solid #dedfe6;
    outline: none;
    border-radius: 10px;
    box-sizing: border-box;
    background: #cad3c3;
    cursor: pointer;
    transition: border-color .3s,background-color .3s;
    vertical-align: middle;
  }

  &-button {
    position: absolute;
    top: 1px;
    left: 1px;
    border-radius: 100%;
    transition: all .3s;
    width: 16px;
    height: 16px;
    background-color: #fff;
  }
}
.s-switch.is-checked{
  .s-switch-core{
    border-color: #96c24e;
    background-color: #96c24e;
    .s-switch-button {
      transform: translateX(20px);
    }
  }
}

.s-switch-label{
  &-left {
    display: inline-block;
    margin-right: 10px;
    font-size: 13px;
  }
  &-right {
    display: inline-block;
    margin-left: 10px;
    font-size: 13px;
  }
}
.s-switch-core.is-disable {
  cursor:not-allowed;
  background: rgb(202, 211, 195);
  border: 1px solid #dedfe6;
}